package cn.fraudmetrix.octopus.modules.jacoco.controller;

import cn.fraudmetrix.octopus.modules.jacoco.dao.CleanResultDataDao;
import cn.fraudmetrix.octopus.modules.jacoco.entity.CleanResultDataEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author libao.zheng
 * @email libao.zheng@tongdun.cn
 * @date 2018/11/29 14:33
 */
@RestController
@RequestMapping("/jacoco")
public class CleanResultDataController {
    @Resource
    private CleanResultDataDao cleanResultDataDao;

    @PostMapping("/horai")
    public CleanResultDataEntity query() {
        return cleanResultDataDao.query();
    }

}
